<?php
abstract class AppDbTableAbstract extends Zend_Db_Table
{
    function AppDbTableAbstract($config = null)
    {
        if(isset($this->_use_adapter))
        {
            $db_adapters = Zend_Registry::get("db_adapters");
            $config = ($db_adapters[$this->_use_adapter]);
        }
        return parent::__construct($config);
    }
}


?>
